package com.jeecg.o2o.captchas.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.lang.String;
import java.io.UnsupportedEncodingException;
import java.lang.Double;
import java.lang.Integer;
import java.math.BigDecimal;
import javax.xml.soap.Text;
import java.sql.Blob;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

/**   
 * @Title: Entity
 * @Description: 验证码
 * @author onlineGenerator
 * @date 2019-05-27 11:16:52
 * @version V1.0   
 *
 */
@Entity
@Table(name = "captchas", schema = "")
@SuppressWarnings("serial")
public class CaptchasEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.Integer id;
	/**验证码*/
	@Excel(name="验证码",width=15)
	private java.lang.String code;
	/**流程状态*/
	@Excel(name="流程状态",width=15,dicCode="bpm_status")
	private java.lang.String status;
	
	private byte[] codebyt;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)

	@Column(name ="ID",nullable=false,length=20)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  主键
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  验证码
	 */

	@Column(name ="CODE",nullable=true,length=50)
	public java.lang.String getCode(){
		return this.code;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  验证码
	 */
	public void setCode(java.lang.String code){
		this.code = code;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  流程状态
	 */

	@Column(name ="STATUS",nullable=true,length=2)
	public java.lang.String getStatus(){
		return this.status;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  流程状态
	 */
	public void setStatus(java.lang.String status){
		this.status = status;
	}

	@Transient
	public byte[] getCodebyt() {
		return codebyt;
	}

	public void setCodebyt(byte[] codebyt) {
		this.codebyt = codebyt;
	}
	
	
	
}
